/**内部通讯-内部通讯API**/
import obj from '@/utils/request'
let {request,baseURL} = obj
//分页查询
export function getNotice(params) {
  return request({
    url: '/notice',
    method: 'get',
    params
  })
}
//修改
export function modNotice(data) {
  return request({
    url: '/notice',
    method: 'put',
    data
  })
}
//添加
export function addNotice(data) {
  return request({
    url: '/notice',
    method: 'post',
    data
  })
}
//删除
export function delNotice(id) {
  return request({
    url: '/notice/'+id,
    method: 'delete',
  })
}
//查看
export function viewNotice() {
  return request({
    url: '/notice/view',
    method: 'get',
  })
}
